package com.example.demo.testOne;

import cn.hutool.core.date.LocalDateTimeUtil;
import com.example.demo.pojo.vo.BksSchoolScore;

import java.time.LocalDateTime;

/**
 * @description
 *
 * @author lilinchun
 * @date 2023/12/23
 */
public class demo21 {

    public static void main(String[] args) {

        LocalDateTime localDateTime = LocalDateTimeUtil.beginOfDay(LocalDateTime.now());
        System.out.println(localDateTime);

        BksSchoolScore bestScoreNew = new BksSchoolScore();
        bestScoreNew.setMinSection("测试产品！");

        String behavior = "转发";
        BksSchoolScore bestScore = new BksSchoolScore();
        bestScore.setMinSection(("#{behavior}了产品：" + bestScoreNew.getMinSection()).replace("#{behavior}", behavior));
        System.out.println(bestScore.toString());




    }
}
